import { postRequest, putRequest } from '@/api/api';
import { getRequest } from './api';

export const saveStationMsg = params => postRequest("/staMsg/save", params);
export const getSendUsers = () => getRequest("/staMsg/getSendUserList");
export const getStaMsgList = params => postRequest("/userMsg/getList", params);
export const getSendMsgPageInfo = params => postRequest("/userMsg/getSendMsgPageInfo", params);
export const getStaMsgPageInfo = params => postRequest("/userMsg/getPageInfo", params);
export const updateStaMsg = params => postRequest("/userMsg/update", params);
export const logicDeleteStaMsg = params => putRequest("/userMsg/logicDelete", params);
export const deleteStaMsg = params => putRequest("/userMsg/delete", params);
export const realAllStaMsg = params => postRequest("/userMsg/readAll", params);
export const logicDeleteAllStaMsg = params => putRequest("/userMsg/logicDeleteAll", params);
export const deleteAllStaMsg = params => putRequest("/userMsg/deleteAll", params);